from DrissionPage import Chromium

tab = Chromium().latest_tab
tab.get('http://DrissionPage.cn/demos/iframe_diff_domain.html')
iframe = tab.get_frame('t:iframe')
ele = iframe('网易首页')
print(ele)